package com.beiing.tianshuai.tianshuai.dongtai.presenter;

import com.beiing.tianshuai.tianshuai.entity.DynamicBean;
import com.beiing.tianshuai.tianshuai.entity.DynamicCommentAndReplyBean;

/**
 * 动态presenter，方法与model接口同名
 * Created by Jinni on 2017/7/17 0017.
 */

public interface DynamicPresenterImpl {
    /**
     * 请求动态列表
     *
     * @param id    当前用户id
     * @param start 条目起始位置
     * @param num   条目数量
     */
    void getDynamicsResult(String id, int start, int num, String dynamicsId, String relayId, int type);

    void praiseDynamic(String userid, String aid, String to_uid, int position);

    void praiseRelay(String uid, String rid, String did, String to_uid, int position);

    void shieldDynamic(String uid, String did, int position);

    void deleteDynamic(String uid, String did, int position);

    void deleteRelay(String uid, String rid, int position);

    void addComment(String uid, String to_uid, String aid, String content, String register_id, String create_time, int position, DynamicBean.DataBean.DynamicsBean dynamicBean);

    void addRelayComment(String rid, String uid, String did, String to_uid, String content, int position, DynamicBean.DataBean.DynamicsBean dynamicBean);

    void addReply(String did, String cid, String form_uid, String to_uid, String content, String registration_id, int position, int dynamicPosition, DynamicBean.DataBean.DynamicsBean dynamicBean, DynamicCommentAndReplyBean dynamicCommentAndReplyBean);

    void addRelayReply(String rid, String cid, String form_uid, String to_uid, String content, String registration_id, int position, int dynamicPosition, DynamicBean.DataBean.DynamicsBean dynamicBean, DynamicCommentAndReplyBean dynamicCommentAndReplyBean);

    void isFollowed(String former_uid, DynamicBean.DataBean.DynamicsBean bean, int position);

    void setFollowed(String former_uid, String latter_uid);

    void sendPush(String status, int tag, int id, String type);
}
